import request from "@/utils/request";
export function insertTenant(data) {
  return request({
    url: "/tenant-tenant/insert",
    method: "post",
    data: data
  });
}
export function updateTenant(data) {
  return request({
    url: "/tenant-tenant/update",
    method: "post",
    data: data
  });
}
export function deleteTenant(data) {
  return request({
    url: "/tenant-tenant/delete",
    method: "post",
    data: data
  });
}
export function deletesTenant(data) {
  return request({
    url: "/tenant-tenant/deletes",
    method: "post",
    data: data
  });
}
export function enableTenant(data) {
  return request({
    url: "/tenant-tenant/enable",
    method: "post",
    data: data
  });
}
export function enablesTenant(data) {
  return request({
    url: "/tenant-tenant/enables",
    method: "post",
    data: data
  });
}
export function disableTenant(data) {
  return request({
    url: "/tenant-tenant/disable",
    method: "post",
    data: data
  });
}
export function disablesTenant(data) {
  return request({
    url: "/tenant-tenant/disables",
    method: "post",
    data: data
  });
}
export function probationsTenant(data) {
  return request({
    url: "/tenant-tenant/probations",
    method: "post",
    data: data
  });
}
export function normalsTenant(data) {
  return request({
    url: "/tenant-tenant/normals",
    method: "post",
    data: data
  });
}
export function viewTenant(params) {
  return request({
    url: "/tenant-tenant/view",
    method: "get",
    params: params
  });
}
export function pageTenant(params) {
  return request({
    url: "/tenant-tenant/page",
    method: "get",
    params: params
  });
}
export function searchTenant(params) {
  return request({
    url: "/tenant-tenant/search",
    method: "get",
    params: params
  });
}
